package org.jeecg.modules.demo.dbtext.service.impl;

import org.jeecg.modules.demo.dbtext.entity.DbText;
import org.jeecg.modules.demo.dbtext.mapper.DbTextMapper;
import org.jeecg.modules.demo.dbtext.service.IDbTextService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 测试表
 * @Author: jeecg-boot
 * @Date:   2019-09-11
 * @Version: V1.0
 */
@Service
public class DbTextServiceImpl extends ServiceImpl<DbTextMapper, DbText> implements IDbTextService {
@Autowired
private DbTextMapper dbTextMapper;

    @Override
    public List<DbText> getAllDbtext() {
        return dbTextMapper.selectall();
    }
}
